;;;; init-yasnippet  -  YASnippet Settings
;;;;
;;;;  Evgeniy Sharapov, evgeniy.sharapov@gmail.com 
;;;;
;;;;
(require 'yasnippet nil t)
(eval-after-load "yasnippet"
  '(progn
     ;(global-unset-key (kbd "C-/"))
     ;(setq
     ; yas/trigger-key (kbd "C-/")
     ; yas/next-field-key (kbd "C-/"))
     (yas/initialize)
     (yas/load-directory "~/.emacs.d/extra/yasnippet/snippets/")
     (add-to-list 'hippie-expand-try-functions-list
                  'yas/hippie-try-expand)))

;; ;; Yasnippet snippets settings 
;; (with-library yasnippet
;;   (yas/initialize)
;;   (yas/load-directory (concat loc-yasnippet "/" "snippets"))
;;   ;; configure hippie along with yasnippet 
;;   (add-to-list 'hippie-expand-try-functions-list
;;              'yas/hippie-try-expand))


(provide 'init-yasnippet)